<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/navigation_bar.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/register.css') }}">
</head>
<body>

    <header>
        <nav class="nav-container">
            <div class="nav-left">
                <a href="#" class="nav-brand">论坛管理信息系统</a>
            </div>
            <div class="nav-right">
                <a href="{{ url_for('login') }}" class="nav-link">登录</a>
            </div>
        </nav>
    </header>

    <div class="主体区">
        <div class="注册框">
            <form method="post" action="{{ url_for('register') }}" id="registration-form">
                <h2>注册</h2>
                <div>
                    <span>昵称</span>
                    <input type="text" class="text" id="username" name="username" required placeholder="请输入昵称">
                </div>
                <div>
                    <span>年龄</span>
                    <input type="text" class="text" id="age" name="age" placeholder="选填">
                </div>
                <div>
                    <span>Email</span>
                    <input type="email" class="text" id="email" name="email" required placeholder="请输入Email">
                </div>
                <div>
                    <span>密码</span>
                    <input type="password" class="text" id="password" name="password" required placeholder="请输入密码">
                </div>
                <form method="POST" action="{{ url_for('register') }}">
                    <div>
                        <input type="submit" class="提交" value="注册">
                    </div>
                </form>
            </form>
        </div>
    </div>

</body>
</html>